package com.welike.shibo.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.welike.shibo.eneity.Push;
import org.apache.ibatis.annotations.Param;

/**
 * Created by fangyu on 2019-09-09.
 */
public interface PushMapper extends BaseMapper<Push> {

    Push queryByUid(@Param("uid")String uid);

    boolean updateByUid(@Param("updated")Push updated,@Param("uid")String uid);

    boolean queryFollowByUid(@Param("uid")String uid);

    boolean queryZanByUid(@Param("uid")String uid);

    boolean queryCommentByUid(@Param("uid")String uid);


}